import React from 'react'
import '../../Static/font/iconfont.css'
import 'antd-mobile/dist/antd-mobile.css'
import { NavBar, Icon } from 'antd-mobile'
import axios from 'axios'

class Bankcard extends React.Component {
    constructor() {
        super()
        this.state = {

        }
    }
    togoMyIncome = () => {
        this.props.history.push('/Home/MyIncome')
    }
    render() {
        return (
            /* html */
            <div>
                <NavBar
                mode="light"
                icon={<Icon type="left" onClick={this.togoMyIncome}/>}
                onLeftClick={() => console.log('onLeftClick')}
                rightContent={[
                    <Icon key="0" type="search" style={{ marginRight: '16px' }} />,
                    <Icon key="1" type="ellipsis" />,
                ]}
                >我的银行卡</NavBar>
            </div>
        
        )
    }
}

export default Bankcard